package com.nnnu.orange;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动类
 */
@SpringBootApplication
@Slf4j
@EnableScheduling  //开启任务调度
@EnableTransactionManagement //开启注解方式的事务管理
public class OrangeLibraryApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrangeLibraryApplication.class, args);
        log.info("server start");
    }

}
